package net.wanho.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

@Data
public class MenuVo {

    private Integer authId;
    private Integer parentId;
    private String authName;
    private String authDesc;
    private Integer authGrade;
    private String authType;
    private String authUrl;
    private String authCode;
    private Integer authOrder;
    private String authState;
    private Integer createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    private Integer updateBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
    private List<MenuVo> childAuth;
}
